package com.clwl.supervise.superviseapp.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "SYS_FILE")
public class SysFile implements Serializable {


//    @TableField(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField(value = "FILE_MD5")
    private String fileMd5;

    @TableField(value = "FILE_PATH")
    private String filePath;

    @TableField(value = "FILE_NAME")
    private String fileName;

    @TableField(value = "FILE_SIZE")
    private Long fileSize;

    @TableField(value = "OSS_TYPE")
    private String ossType;

    @TableField(value = "CLASSIFY")
    private String classify;

    @TableField(value = "CREATE_BY")
    private String createBy;

    @TableField(value = "CREATE_TIME")
    private Date createTime;

    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    @TableField(value = "UPDATE_BY")
    private String updateBy;

    @TableField(value = "REMARK")
    private String remark;

    @TableField(value = "TENANT_ID")
    private String tenantId;

    private static final long serialVersionUID = 1L;
}
